package com.jiepu.daily.corejava.advanceed.part2.day0716;

import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
import java.util.Vector;

/**
 * @Description:
 * @author: xinjie.txt
 * @date: 2020/7/16  10:35
 */
public class CollectionTest {

	public static void main(String[] args) {
		Collection collection =new ArrayList();
		Collection collection1 =new LinkedList();
		Collection collection2 =new Vector();

		collection.add(4);
		collection.add("xinjie.txt");
		collection.add("新杰");
		collection.contains("xinjie.txt");
		System.out.println("Total ElEment Num: "+collection.size());


	}
}
